package edu.poly.game.player;

import edu.poly.game.battleship.BattleShipType;

public class MissileFireResult {
	private MissileFireResultType resultType;
	private BattleShipType missileHitShipType;
	
	private MissileFireResult(final MissileFireResultType resultType,
							  final BattleShipType missileHitShipType) {
		this.resultType = resultType;
		this.missileHitShipType = missileHitShipType;
	}
	
	public MissileFireResultType getResultType() {
		return this.resultType;
	}
	
	public BattleShipType getShipType() {
		return this.missileHitShipType;
	}
	
	public static MissileFireResult getResult(final MissileFireResultType resultType,
										final BattleShipType missileHitShipType) {
		return new MissileFireResult(resultType, missileHitShipType);
	}
}
